package org.farm2.view.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NoArgsConstructor;

/**图组件 
 * @author cbtg自动生成  2025-8-29 9:10:02 
 */
@Data
@NoArgsConstructor
public class GraphPartDto {
    //@RegExValidator(type = ValidType.loginName)//自定义校验方法
   
    private String id;
   
    private String ctime;
   
    private String etime;
   
    private String euserkey;
   
    private String cuserkey;
   
    private String state;
   
    @Size(min = 0, max = 512, message = "{farm2.validate.template.size}")
    private String note;
    @NotBlank(message = "{farm2.validate.template.notnull}")
    @Size(min = 0, max = 256, message = "{farm2.validate.template.size}")
    private String name;
   
    private String datafileid;
   
    private String viewimgid;
    @NotBlank(message = "{farm2.validate.template.notnull}")
    @Size(min = 0, max = 64, message = "{farm2.validate.template.size}")
    private String appmodel;
   
    private String appid;
}